package com.example.jwttoken.mapper;

import com.example.jwttoken.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    User selectUserByNameAndPassword(@Param("username") String username, @Param("password")String password);

    User selectUserByName(String userName);

    void updateUserLastTime(User user);

    User selectUserById(String userId);
}